import React, { PureComponent, Fragment } from 'react';
import { Card } from 'antd';
import ReactMarkdown from 'react-markdown';

import sourceText from './assets/text';

class Index extends PureComponent {
  render() {
    return (
      <Fragment>
        <div style={{ width: 750, margin: '0 auto' }}>
          <Card bordered={false}>
            <ReactMarkdown escapeHtml={false} source={sourceText} />
          </Card>
        </div>
      </Fragment>
    );
  }
}

export default Index;